<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>登录页面</title>
    <link href="../static/css/style.css" type="text/css" rel="stylesheet">
</head>
<body>
    <div id="main">
        <form action="/user/login" method="post">
            <h2>欢迎登录</h2>
            <div>用户名：<input type="text" name="user_name"></div>
            <div>密&nbsp;&nbsp;&nbsp;码：<input type="password" name="password"></div>
            <div id="button">
                <input type="submit" value="提交">
                <input type="reset" value="重置">
            </div>
            <c:if test="${not empty error}">
                <div style="color:red">${error}</div>
            </c:if>
            <div id="footer">版权@2022，四川长江职业学院</div>
        </form>
    </div>
</body>
</html>
